package TwoDay;
//1.求1+2+3+。。。。。。+100的和
public class StudyFor1 {
        public static void main(String[] args) {
            int i,sum = 0;
            for (i = 1; i<=100; i++) {
                sum=sum+i;
            }
            System.out.println(sum);
        }
}
